<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>Bootstrap 101 Template</title>
  <!-- Bootstrap -->
  <link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    .item img {
      width: 300px;
      height: 200px;
    }
  </style>
</head>
<body>


<div class="container">
  <div class="row">
    <div class="col-md-4">
      <!--<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="1000">-->
      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
          <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
          <li data-target="#carousel-example-generic" data-slide-to="1"></li>
          <li data-target="#carousel-example-generic" data-slide-to="2"></li>
          <li data-target="#carousel-example-generic" data-slide-to="3"></li>
        </ol>

        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">
          <div class="item active">
            <img src="1.jpg" alt="...">
            <div class="carousel-caption">
              美女1号
            </div>
          </div>
          <div class="item">
            <img src="2.jpg" alt="...">
            <div class="carousel-caption">
              美女2号
            </div>
          </div>
          <div class="item">
            <img src="3.gif" alt="...">
            <div class="carousel-caption">
              美女3号
            </div>
          </div>
          <div class="item">
            <img src="4.jpg" alt="...">
            <div class="carousel-caption">
              美女4号
            </div>
          </div>
        </div>

        <!-- Controls -->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
          <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
          <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
          <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
          <span class="sr-only">Next</span>
        </a>
      </div>
    </div>
  </div>

</div>


<script src="jquery.js"></script>
<script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script>
  $('.carousel').carousel({
    interval: 1000
  })
</script>

</body>
</html>